1type Query { 2 todos: [Todo!]! 3} 4 5input NewTodo { 6 text: String! 7 userId: String! 8} 9 10type Mutation { 11 createTodo(input: NewTodo!): Todo! 12}
View as plain text